package com.service;

import com.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Milburn
 * @create 2021-03-02 12:20
 */
public interface IUserService {

    User login(String user_name, String user_pwd);
    Integer updateUserInfo(User user);
    User findUserById(long user_id);
    List<User> findUserByName(String name);
    List<User> findUserLikeName(String name);
    Integer addUser(User user);
    Integer deleteUser(long user_id);
    List<User> findAllUsersInfos();
    PageInfo<User> findAllUsersBySplitPage(Integer page, Integer limit, String keyword);
}

